package com.dxb.yomall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.dxb.common.utils.PageUtils;
import com.dxb.yomall.product.entity.AttrEntity;
import com.dxb.yomall.product.vo.AttrVO;

import java.util.List;
import java.util.Map;

/**
 * 
 *
 * @author daixinbao
 * @email 1065808217@qq.com
 * @date 2021-01-05 22:26:07
 */
public interface AttrService extends IService<AttrEntity> {

    PageUtils queryPage(Map<String, Object> params);

    PageUtils queryBaseAttrPage(Map<String, Object> params, Long catelogId, String attrType);

    void saveAttr(AttrVO attrVO);

    void updateAttr(AttrVO attrVO);

    AttrVO getAttrInfo(Long attrId);

    List<AttrEntity> getAttrRelation(Long attrGroupId);

    List<Long> selectSearchAttrIds(List<Long> attrIds);
}

